<?php
//Author:炳南
//Data:2016-2-27

require 'basehandle.php';
require '../dao/userdao.php';

class Urider implements basehandle{
	public function dohandle(){
		$uid=$_POST['userid'];
		$dao=new userdao();
 		$rs=$dao->urider($uid);
 		//var_dump($rs);
		if(!empty($rs)){
			$info=array("rs"=>"success",
				"successinf"=>"加载成功");
		}
		else{
			$info=array("rs"=>"error","errorinf"=>"加载失败");
		}
		echo json_encode($info);
	}
	
}  
?>